home *** CD-ROM | disk | FTP | other *** search
- Path: ehsn25.cen.uiuc.edu!jroberts
- From: jroberts@ehsn25.cen.uiuc.edu (robertson jason victor )
- Newsgroups: comp.lang.c++
- Subject: Namespaces...
- Date: 1 Feb 1996 07:57:47 GMT
- Organization: University of Illinois
- Message-ID: <4eprpr$bs8@vixen.cso.uiuc.edu>
- References: <futi.34.00315776@azstarnet.com> <4epr79$n10@dole.uninett.no>
- Reply-To: jroberts@uiuc.edu (Jason Robertson)
- NNTP-Posting-Host: ehsn25.cen.uiuc.edu
-
- I'm curious about g++'s support of namespaces. It seems to work for
- namespace ns1 {
- int i = 10;
- };
- int i = 100;
- main(){
- cout << ns1::i;
- }
-
- But the
- using ns1::i;
- facility isn't there. Is it just that 2.7.2 hasn't incorporated that part
- of it yet, or did the standard change, or is this c++ book I just bought
- imagining things and there is no 'using' facility:) ?
-
- Thanks...
-